Ext.define('PJ.view.setassessmentpaper.SelectStaffRightCourseFrame', {
    extend: 'AM.default.DefaultWindowForm',
    
    alias: ['widget.selectStaffRightCourseFrame'],
    
    requires: ['PJ.view.setassessmentpaper.PreSelectStaffList', 'PJ.view.setassessmentpaper.ChooseSelectStaffList'],
    
    modal: true,// 开启不允许点击其他组件
    frame: true,
    notEdit: true,
    width: 735,
    height: 550,
    isSame: false,
    isEdit: null,
    
    initComponent: function(){
    	var me = this;
    	me.items= [{
    		xtype: "container",
    		layout: 'column',
    		autoScroll: true,//可显示滚动条
            collapsible: false, //显示三角
            height:480,
    		items: [{
    	        xtype: "preSelectStaffList",
    	        columnWidth:1,
    	        height: 300
    	    }, {
    	        xtype: "chooseSelectStaffList",
    	        columnWidth: 1,
    	        height: 300
    	    }]
    	}];
    	me.buttons = [{
            text: '关闭',
            scope: this,
            handler: this.close
        }];
        me.callParent(arguments);
    },
    listeners: {
    	close: function(){
    		this.grid.store.load();
    	}
    }
});
